package com.ruibang.glass.produce.domain.event;

import com.ruibang.glass.produce.domain.resp.Monitor;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;


/**
 * @Author: songJinKang
 * @CreateTime: 2023-11-21  09:57
 * @Description: TODO
 * @Version: 1.0
 */
@Getter
public class MonitorCacheEvent extends ApplicationEvent {

    private final List<Monitor> monitors;

    public MonitorCacheEvent(Object source, List<Monitor> monitors) {
        super(source);
        this.monitors = monitors;
    }
}
